#include "tcpclientchannel.h"
#include <QDebug>


TcpClientChannel::TcpClientChannel()
    : IChannel()
{
}

bool TcpClientChannel::Start()
{
    qDebug()<<"Channel Start";
    return true;
}

bool TcpClientChannel::Stop()
{
    qDebug()<<"Channel Stop";
    return false;
}

void TcpClientChannel::HelloWord()
{
    qDebug()<<"Hello Channel!";
}

IChannel* CreateChannel()
{
    IChannel* pChannel = new TcpClientChannel();
    return pChannel;
}

void ReleaseChannel(IChannel* pChannel)
{
    delete pChannel;
}
